package io.renren.modules.forYoung.service;

import io.renren.modules.forYoung.entity.NewsEntity;
import io.renren.modules.oss.entity.MysqlOssEntity;

import java.util.List;
import java.util.Map;

public interface NewsService  {
    List<NewsEntity> getMyNewsList(Integer userId);

    int delete(Integer id);

    void upload(Map<String, Object> param);

    MysqlOssEntity getImgByName(String name);
}
